/*
 * Copyright (c)  2015~2020, xforceplus
 * All rights reserved.
 * Project:datacare-orm
 * Id: SQLBatchReady.java   2020-10-07 23-41-34
 * Author: Evan
 */
package cn.datacare.orm.source;

import java.util.Collections;
import java.util.List;

/**
 * <p>
 * Title: SQLBatchReady
 * </p>
 * <p>
 * Description: SQLBatchReady
 * </p>
 * <p>
 * Copyright: 2015~2020
 * </p>
 * <p>
 * Company/Department: xforceplus
 * </p>
 *
 * @author Evan
 * <b>Creation Time:</b> 2020-10-07 23-41-34
 * @since V1.0
 */
public class SQLBatchReady {
    String sql = null;
    List<Object[] > args = null;
    public SQLBatchReady(String sql) {
        this(sql, null);
    }
    public SQLBatchReady(String sql, List<Object[]> args) {
        this.sql = sql;
        if (args == null) {
            this.args = Collections.emptyList();
        } else {
            this.args = args;
        }

    }
    public String getSql() {
        return sql;
    }
    public void setSql(String sql) {
        this.sql = sql;
    }
    public List<Object[]> getArgs() {
        return args;
    }
    public void setArgs(List<Object[]> args) {
        this.args = args;
    }

}
